package com.emmmya.ocs.common.utils.httpClient;

import com.emmmya.harinCheck.annotation.Check;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @date 2020/7/13 17:21
 */
@Data
@AllArgsConstructor
public class PageVO<T> {

    @Check(name = "当前页")
    private Integer currentPage = 1;

    @Check(name = "展示数量")
    private Integer pageSize = 10;

    @Check(name = "总记录数")
    private Long count = 0L;

    @Check(name = "返回数据")
    private List<T> data = new ArrayList<>(10);

}

